package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.CheckItem;

import java.util.List;

//服务接口
public interface CheckItemService {
    //新增检查项
    public void add(CheckItem checkItem);
    //检查项分页查询
    public PageResult pageQuery(QueryPageBean queryPageBean);
    //删除检查项
    public void deleteById(Integer id);
    //编辑检查项
    public void edit(CheckItem checkItem);
    public CheckItem findById(Integer id);
    //检查组里的查询所有的检查项
    public List<CheckItem> findAll();
}
